package com.mrx.commons.annotations;

import com.mrx.commons.trace.CORSFilter;
import com.mrx.commons.trace.TraceFilter;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Mr.X
 * @since 2023-11-15 10:44
 **/
@Target(ElementType.TYPE)
@Import({TraceFilter.class, CORSFilter.class})
@Retention(RetentionPolicy.RUNTIME)
public @interface EnableXTrace {
}
